zl: example code for problem xAxB