add code for study inject