also you should have a break statement at the bottom of each case segment