p/p and r working