array needs ud flipped