task 59564. implemented method search