made player1 and player2 global