readd the template mixin and correct requirements