replace set_values_manually with initializer