modified pj3a based on Sissi's pj2 result