few modifications
Ring inherits from Group