saving raw data