shoehorning all of ch.core into this, nbd.