Moved #getPhotos up