added docstring to GetAllPhotos