added data to csv output