added default value for templates