template from atrributes mix in