doc + close