Added heartbeat example