changes to csv format