towards type sensitive autocomplete