add init event