fully functioning search which only displays matched results