final base template