added importance of search algorithm in the calculation