detach comparition to new thread, keep app working with out UI blocking