added seach functionality