used the constants for shutdown()