Flesh out event handler, add to README example