adds forgotten template function call