Some inventory checking functionality