first code on set_value