added printing to help make csv files