added hasWon skeleton