searchfunction working(almost)
searchfunction working (almost)