Reformatted
Mocked implementation of auto complete search