add comment about pending(), fix typo