ddply. prepare for learning more on issue #2