Switching position of k.