r250 logic inside