Added activate code