updated: buchmann-exercise-09-03.R