add type ahead functionality