incorporated saving and loading to csv