implemented ruby CSV lib