exporting decode_data/1
improving documentation