change from pub/sub to shared scope