Changes to my function.