made check for stalemate possible