WIP: Implementing search functionality