template funcs with literal values now work