output writing to file; calculations off