An autocomplete task implementation