creating contents for the page