added multiplier function - chapter 03 - second edition