https://github.com/bar-woolf/applied-MR-code/