forpart now does restricted partitions