add ability to transform results to csv