I suck at python. Don't look at this, just proof of concept.