Bubbles and crystals in magma