Hawthorne came from a long line of Puritans (one of his fore-fathers was a judge during the Salem witch trials), and Puritan beliefs about subjects like guilt, repression, original sin, and discipline inform the book on every level. What is your impression of how the Puritan worldview is taken up and treated by Hawthorne in
The Scarlet Letter?