Added photo_g logic, not finished.