Added a functions example