update: adds groupBy() minor bug fix