add search w bugs needs fixing