added knight check