nearly done with layout