made the base template "inheritance" cleaner.