Convex hypersurfaces with pinched second fundamental form