add search gem
finish search function
finish search