Adding default values to all the fields in add class