updated code examples section