adds autocomplete requirements