reduce length of code examples