part 2 done using CSV