straightening out datafile