The cure for stupidity