added autocomplete method (3)