working with search field