Implement exercise.