Fr search

finished implementing old search
do you need this console.log?