csv_writer retreive_data method notes confirm