add activation handler.