got the serach algo working