add todo: get the object passed in