add time display function and raw data file