Search takes input