To answer this question, we should know that: It is an adaptation of the 1986 non-fiction book Wiseguy by Nicholas Pileggi, who co-wrote the screenplay with Scorsese.
the 1986 non-fiction book Wiseguy by Nicholas Pileggi
Context: Goodfellas (stylized as GoodFellas) is a 1990 American crime film directed by Martin Scorsese. It is an adaptation of the 1986 non-fiction book Wiseguy by Nicholas Pileggi, who co-wrote the screenplay with Scorsese. The film narrates the rise and fall of mob associate Henry Hill and his friends and family over a period from 1955 to 1980.

Question: what is the movie goodfellas based off of?

The relevant information is: Its headquarters are in Hershey, Pennsylvania, which is also home to Hershey's Chocolate World.
Hershey , Pennsylvania
The Hershey Company, known until April 2005 as the Hershey Foods Corporation and commonly called Hershey's, is an American company and one of the largest chocolate manufacturers in the world. Its headquarters are in Hershey, Pennsylvania, which is also home to Hershey's Chocolate World. It was founded by Milton S. Hershey in 1894 as the Hershey Chocolate Company, a subsidiary of his Lancaster Caramel Company. Hershey's products are sold in over 60 countries worldwide. In addition, Hershey is a member of the World Cocoa Foundation. It is also associated with the Hersheypark Stadium and the Giant Center.

Answer this question based on the passage: where is the hershey's chocolate factory located?

The relevant information to answer the above question is: The plot and characters are loosely based on Lee's observations of her family, her neighbors and an event that occurred near her hometown of Monroeville, Alabama, in 1936, when she was 10 years old.
1936
To Kill a Mockingbird is a novel by Harper Lee published in 1960. It was immediately successful, winning the Pulitzer Prize, and has become a classic of modern American literature. The plot and characters are loosely based on Lee's observations of her family, her neighbors and an event that occurred near her hometown of Monroeville, Alabama, in 1936, when she was 10 years old. The story is told by the six-year-old Jean Louise Finch.

Based on this passage, when was to kill a mocking bird based on?