checking works, not checkmating
fixed merge error