working on inventory and nbt saving