adds teams and winning; bugfixes