scoping and search()