need to finish printing to CSV