Added comments and changed the name of the argument.