initializing the layout