heartbeat and vote