added basic search functionallity