add new generated flex