Object not needed in function