added RingList class