addedd rsr processing