activity data munging