Update the function comments based on the findings