Adding the sample with a function that has 3 different definitions.