partial update for pme.c