added flex-mode