dynamic saving and loading confirmed working