add global clock