http://robert.ocallahan.org/2013/02/and-then-there-were-three.html