code for quickfind