Now distributes teams and ids correctly