integer theory back in (for the twentieth time.)