update
updated scenario1 to write to csv