commit book page263 for faliures check