adjust layout, add styles