add fn example