spec for subscriber()