* put hook for shut down into model