WIP, first implementation of search