replaced finally in doc