add search depth support