finished exer c num 3