modulating the occam stuff, still a massive work in progress