adjusting layout and content