grouping elm by activity context