templates created for each page