Pip undergoes major transformations throughout Great Expectations as he interacts with different characters from varying social classes. At the beginning and end of the novel, Pip's moral values remain largely the same, but during his maturation he struggles to find his place in society. The two most influential figures in his life are Estella, who represents Miss Havisham's revenge against men, and Magwitch, the convict who becomes Pip's secret benefactor. Pip's interactions with characters from different backgrounds teach him to discern right from wrong and choose worthy role models.