protect against divide by zero
protection against malformed events
protect against missing feds
support hacky mode
update fed
generalize
configurable branch name
tweaks