adding a little to pub sub example