added heartbeat messages