implemented flip in axis system