basic pub sub now working