finished find and search functionality. working completely