Added switchContainerState()