added limited grouping by title, still buggy