attempt to fix code examples