finally getting to grips with layout