type and constraint corrected
default and required corrected