when the object is resored from file(deserialiazed) it automatically calls the empty-argument constructor that adds a '10' to default value.