documenting the shutdown process