added is_deleted logic back.