csv messy code