Solved REVC problem