the first step involves light opening the ring of 7-dehydrocholesterol to form pre vitamin d3. this is a photochemically induced conrotatory electrocyclic reaction. the second step is a [1,7]-hydride shift to make vitamin d3.