Some sample searching code