3d flip implemented