replace Timer with new IntervarTimer