add trigger studies code