at this stage it works as in the paper