http://www.johnculf.co.uk/hfolk/misc/mmd15.pdf