implement list_remove_object