enhance the header search to use user input string