study code append