wip - V2

ref https://github.com/canaryio/canary/issues/6
extract all of this into a func so we might test it