used library for xfind