ex02: clean code
init: typeahead search