i want to use RC reference to check if value is greater than Threshold(Variable) then it should result in RC[-2] else RC[-1] however i am not able to provide variable in below f