working on the layout view