Photoproduction of pions and mass dependence of amplitudes