modified heartbeat for systemA