adding photon and ground