refs #71 rearrange IS code