test case 4 works