some final changes to the code examples