Working backwards, testcase97-01 works