Source: http://www.inf.ed.ac.uk/teaching/courses/inf1/op/Lectures/2008/pub/11-static.slides.pdf