modified to test new control IR