inventory impl' part II