Refactoring behaviour init event