add xpath matching