made small progress on autocomplete