listening for changes now working