call init instead of registering an event.