updated: buchmann-exercise-09-02.R