added jumpSegment, not quite sure if it works