almost there! new exception and checkmate fixed.