seems to work... added germ of a test script (not a real test yet though)