changed changeLiveValue argument to const