updated for 0,1,0