changes for new gallery