adding the ring example