Cache and PDP
add inventory check