Observable pattern in pms