check for draw first before checkmate