added random_id to groups