first version of instant search working