placed the background into the template