rings: cleaned up the code
rings: migrated to borland-style naming and capitalization