Working init version