Create object instead of a function call