adding activity column to data frame