Chap7 class