added activation code for #37 - still to test