Describe what the function is doing in language.
Please provide your description when you are ready.