add initializer to modelcreating