added and commented code to make the rings infinite spin