addes tagging on flaps