Added Ring Functions
Merge remote-tracking branch 'origin/master' into harry