removed partIIIMat since it was temporary