npart is a class variable