ch7, working on validation