the new operator as a function