add heartbeat/change loop