task_2: autocomplete functionality for search - 2 ways