basic code for layout of page