flipping, and rendering order