depot creation and states