finished decode_answer part