makes code more readable, and add data file