modifications done to test for paritions.