Added promo function demo

chap. 7