Added time log to relevant methods, moved all the searches into one method