cleanup into change_series function