added GalleryRepository