finished 7.7 exercises