search task first implementation