bugfixes; adds scoreboard