updated to use read.csv