compilation works for second test case as well