Inverted the order that arguments are placed into the locals in a user-defined function because the arguments are given to the function backwards from the order they are defined.