added a section about shutting down