implemented wake::all_targets