created a layout precarious for the gui