Can now write to CSV