remove collect_by_ ; probably unnecessary