Adding formatting for pages