modifed to use csv format