added comment about checking for success