basic pub sub support