add new functions. add autocomplete