Immigrants came to the United States for opportunities not available in their home countries and greatly impacted American society. As immigrants entered through ports like Ellis Island, they faced challenges living and working in crowded urban areas with poor housing and sanitation. Cities worked to solve these problems through building codes, parks, street lights, police, and health departments. A growing middle class enjoyed new mass culture and entertainments in the cities, such as department stores, movies, sports, and public education.