fixed order of code examples