Astronomers using ALMA and the VLT have discovered that both starburst galaxies in the early Universe and a star-forming region in a nearby galaxy contain a much higher proportion of massive stars than is found in more peaceful galaxies. These findings challenge current ideas about how galaxies evolved, changing our understanding of cosmic star-formation history and the build up of chemical elements.