Improved Resource generation to support n rings