18th century moral codes