added support for "one" event. Fixes #19