renaming, reworking algo, decreased lookahead (for speed), debugging