flag addition