use pcase to get the items