heartbeat var added