Added pmanager in order to make partition snippet simple