test with init ={ture, false}