adding index for code examples