added save full dataset to code