I've added publish subscribe example