no injector var in func declaration