Adding search details adn bug fixes