https://www.itoosoft.com/fr/tutorials/randomising-pipes