adjusting the layout