added the example onto the worksheet assignment to get a better understanding of how to work functions