replaced temp var names in GetAllPhotos