added corrections for basic example