finished exer 4