rework init sequence.