add search job logic