correction in the code examples