adding functionality to add new group