improve hand/decode