Axis flipping added