Added 'public' keyword to 'activate' method