fixed recogniser chap4 from the worst