add level counters, moving timing to 60 Hz, use periodic timing