Started search functition.