Add flip priority
Priorty flipping works