So much code. Parsing a single character seems to work at least.