added photons to linkdef