Typed up exercise.