add current task framework