added flex_cascade