Added check_rdiff