finished Ch.4 exercises