better search. pause and resume