Forgot an object in the . operator fun with inventories