Modded clock to understanding codeing