add save and load functions, for a faster way to do later stage of work.