Code added for testing search results