add some heartbeat funcs.