make your own ring class. There are any references about make your own ring class in here. you can look below.