Added choosegroup prefix to functions