adapting to new csv format