took out newGallery as a  option