How do you code a layout.