start with search, make scoping more elegant