change search to be a scope