adding grid
added templates