removed the galleryObject stuff