Add collection functions example