I think we would want the commented out code, because we want to get the id, not the whole object?