getting rc value