complete documentation; fixed Closing