study code examples