Create object instead of function call