moved subscibe to shared module