starting to implement search