add find selector function