an exercise in collecting and reshaping data