type ClockCallback = (time,ticks) => void