code kata #4 data munging