added downloading of tasks