moved titles to template var