implemented the loading/unloading of dimensions