Delegate with document