calm counter routine