added defaultChecked and defaultValue