Implement search functionality

Inconsistent indentation detected.