[heartbeat] make use of interval;