R LOGIC