added controller init event