finish statement in doc