Source: https://iuuk.mff.cuni.cz/~andrew/EAP/Wallwork-Emails-Ch14.pdf