more stable. possibility to change grouping option