added autocompleter

shouldn't we save the instance to a variable? Is it needed?