work on search as you type