for study code