chap4: validation updated