verbose logging flag; fix example