modified case 3