added in more seraching stuff to make typing search possible.