add activate callback