Preparation of highly substituted tetrahydropyrans via a metal assisted dipolar cycloaddition reaction.