slides: code examples improved