Adopted to d2tasks