make initial state configurable