removed unused csv function