new function

a. add task management
b. add flow statistic