Complete Chap7 Exercise