add default values for fields
add an initialization block