switch demo exercise