This is kind of hacky and awful, VVMVP. Any suggestions welcome, @aronasorman and @jamalex .