extends base template