putting back in templates