An update made for Stanford with ♥ by Andrew Millman