More work on decoding (still cheating)