finished init-model