complete Ch. 5 exercises