made engine able to throw init event so that it can actually be caught