remove old code
new task interface