Some progress on initialization. CCs code seems to work.