changed the file structure for easier data recording purposes