Title: Heterocyclic rearrangements and electrochemical synthesis