got strings to compare without string libraries, also removed a lot of debug print statements