Changed processHeartbeat into heartbeat