implemented group creating