An example of 2 different types of functions