Adding heartbeat