code on group add

code on group add