incorporating minor corrections suggested in PR review