started working on using the datafile