more additions to the code examples