added activation hook