implemented collaborator events
fixed reference to init function