can now search using the inputted value