Before merging layout with game