checking the validity of rca