fixing up percontation