Ring Feature:add ring function