shit works
added char literals and cleaned up code a lot