changed it so PHI uses all contexts