modified the file search.rb 0.2.4