started handing groups. add functionality working.