Source: https://user.math.uzh.ch/ayoub/PDF-Files/MotVarRig.pdf