Added check and checkmate