added example from poshcode.org/2628