switch to checkmate (fixes #7)