model demo initialize working