remove loop in task1