implemented modified search routes