Updated a comment to better describe what the function is doing