fixed mistakes in example