started ring algorithm notes