groups variable not used in addItems