Working on complex battle flags system