list. groupBy. make it nicer