new remote function added to task-manager, code cleanup