some messing around with this, about to nuke...
assertion parsing.