added functions example