now printing final time data to csv