grouping of leads in front-end