add default fields in constructor