incorporating minor corrections suggested in the PR review