XD: add search feature