implemented group creation