add functions example