Many factors influenced the colonists’ selection process by which they constructed their approach to criminal justice. As previously mentioned, there were no professional legal experts and few law resources available. This left a lot of room for creativity and mistakes. The colonists were largely left to their own devices concerning the details of their developing criminal justice system. The new environment the colonists encountered in the New World, especially the western frontier, also affected the way the law was shaped. The system was molded to fit the colonists’ needs as they settled further and further west. Vigilantism was an inevitable byproduct of the faults of the development of justice in America. Religion, especially early on in the colonial period, exerted a strong influence on law making. Legal codes, such as the 1648 Book of the General Laws and Liberties of the Massachusetts Bay Colony, contained very strong biblical references, more so than did the ones in England. Although this religious impact was felt most strongly in Puritan colonies, similar ideas were evident among other colonists as well. Many colonial makeshift criminal codes considered lying, idleness, drunkenness, certain sexual offenses, and even bad behavior to be crimes. These moralistic crimes stemmed from the relation of crime to sin and sin to crime. Adding to the religious factor, the colonists held individual liberty in high regard. This later influenced more contemporary criminal codes.