To transform a ring