change indata to data