Added data decoding.