Thanks for @mathisfun for the encode/decode blocks (in his/her CPS test thingy idk if (s)he copied it off another person)