activation hook