detailed version of Pernet/Stein .pdf