can now pass an handler for require events
v0.2.1