gateway's adaptation for new data format