Update: use matchMaterial