Put two more functions in objects to make them methods.