modified base template