Initial development !

this fail if err is set and events is undefined