making piuparts work