A team of scientists has solved an important puzzle in astrochemistry: how to measure magnetic fields in space using methanol, the simplest form of alcohol. Their results give astronomers a new way of investigating how massive stars are born.