maintain routines for restarting etc