adding thephoton vars