Might throw away all code and rewrite it, this is getting ridiculous.