finished taskmanager part2 without usecase