Added walk_values function