towards substituted beta- and gamma-carbolines based on transition metal catalysed [2+2+2] cycloaddition reactions between functionalised yne-ynamides and methylcyanoformate is described. The versatility of this new reaction sequence is demonstrated by its application in the totalsynthesis of the marine natural product eudistominU.