adding csv capabilities