testing flag system done