Update example to add(number, period) #151