added comment to explain what pending is