I still don't understand why we even need to have this function accept an object.