Implementing header search