last of the long talks from ENAR on monday. Need to refactor a bit more.