added template param