Heartbeat example added