groupBy should be group

group should be used instead of groupBy.