injector recognizes functions with no arguments