layout definitions and some styling