new structure for gallery