edited Search in main