working on shutdown...