checkmate now fully works
checkmate improved