Title: Formation of galaxies inside clusters