added Heartbeat check