Added set_parameter method