CP-2 work with a flag