Got rid of extra code in pumpkinpi module