adding helper method for win()(not finished)