fixes, now with switches, example csv file