since str.maketrans and stuff were changed, decided to move to non-string module stuff.