decode data