pubSub homework