layout and graphics