remove console.log
add history results
add search history