study code demo