added new feature: writes to consol when search is finished OMG