Add nonlocal task assignment