adapt tasks