add code examples in $1.2