Implemented lookahead and aborted moves