finished my comments on write_to_csv.py