extract conditon to restock
extract item about to spoil and constants for items
extract more methods
move code to class for better testing, should have done this first
adding first real test about removing items