New ways to make pharmaceuticals