Added switchDemo