changed names and wired filterSearch to output console