Motives and goals in groups