Added galleries function