synchronise with timer