everything working but checkmate