change to data array