get the layout working