include core autocomplete code