basic search functionality added, all tests passing