resource should be used if found + pmd