added working case 3