update multitasking: merged versions