multi-task implement finished, details need to be fixed.