added write to csv part