eliminates try-catch in search function of Executor