made inventory saveable/loadable