instantiate a function without using the 'new' keyword