some more changes
added code for search