Studies on the rearrangement in triterpenoids and naturally occurring benzopyrroles and their reactions