case 1case 2 case 3