creating base layout