Implement search functionality

Surrounding space missing in default value assignment.