create hints for autocomplete