use checkbox for control [0,1]