more debugging, the example given in the paper has multiple errors