layout and control