updated notation as in the original paper