change the way task is exported in example