Moving right has been added to switch statement