Changed how the object is being passed