I'm pretty sure I missed a line of code in here that actually did the decoding :-P