edited base template