added flex package