doc example complete