to write a beautiful search box