add more task, remove debug code