change search engine as param
change param name and correct style of code