uploading the first attempt to make my own encoding.