finish working on search