based on Alaveteli. No links. Draft