Need to fix R in STATE