almost working inventory