The wizard of Oz explained