added default to template def