Added the get_values/2 and set_values/2 functions