add autocomplete and scopes