doc and delegator