finding heads for simple groups of 1 token and complex groups of 1 group