Changing the pattern matching to return the last argument.