Prototype for Search mode