add missing values in the constructor