rewrite with fern/event harness