improved groupselection: user can set groupNames