changing  offsetValues list type from Map to Array