needs to be passed an object now