add startup/shutdown