solution to csvParser