Sprint of writing to csv working