added multitask feature