Changed inventory logic for programmer