Please add a comment explaining what this function is for.