There are a few reasons to use this pattern. In our case, we use the function so the we can use the ‘$’ to mean ‘jQuery’, even if the ‘$’ variable is assigned to something else outside of this function. We also have a parameter ‘undefined’. Although we aren’t yet using ‘undefined’ in code yet I’ve added it for future revisions. Adding ‘undefined’ (yet passing in nothing as the parameter when executing the function) allows us to make sure someone didn’t do this sort of funny business in javascript previous to our function execution