Cleaned CSV code