implement CheckBox and RadioButton controls