added csv export of data