working printRing
working printRing v.2