learning: default values of fields of classes