Make inventory work.