basic searching implemented